'use strict';

module.exports = app => {
	const {INTEGER,STRING}=app.Sequelize;

	const DeviceTypePackage=app.model.define('deviceTypePackage',{
		id:{type:INTEGER,primaryKey:true},
		merchant_id:{type:INTEGER},
		packageUser_id:{type:INTEGER},
		deviceLabelSet_id:{type:INTEGER},
		package_type:{type:INTEGER},
		active_label:{type:STRING(64)},
		sort:{type:INTEGER},
		is_wechat:{type:INTEGER},
		remark:{type:STRING(125)},
		create_time:{type:INTEGER},
		update_time:{type:INTEGER}});
	return DeviceTypePackage;
};